﻿<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
    <div template="session_page">
        <div template="view" path="/views/ThietLapHeThong/PhanQuyen/NguoiDung.ListOfRoles.html" 
             instance="$view"
             on-load-view="CheckView();">

        </div>
        <div template="bottom_toolbar">
            <input type="button" class="k-button" value="Thêm" ng-click="doLoadPage()"/>
        </div>
    </div>
   <script>
       var scope = this;
       scope.CheckView = function () {
           var f = scope.currentView;
       };
       scope.doLoadPage = function () {
           
           scope.$root.$appView.loadView("views/ThietLapHeThong/PhanQuyen/NhmNguoiDung.html", function (subScope) {
               subScope.$$$caption = "test";
               subScope.$root.$session_header.$setCaption(subScope.$$$caption);
               
           });
       }
   </script>
</body>
</html>